package com.etc.entity;

public class ProductInfo {
	private int id;//ID
	private String name;//商品名
	private double price;//价格
	private int stock;//库存
	private String sort;//类别
	private String img;//图片
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	@Override
	public String toString() {
		return "ProductInfo [id=" + id + ", img=" + img + ", name=" + name
				+ ", price=" + price + ", sort=" + sort + ", stock=" + stock
				+ "]";
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public int getStock() {
		return stock;
	}
	public void setStock(int stock) {
		this.stock = stock;
	}
	public String getSort() {
		return sort;
	}
	public void setSort(String sort) {
		this.sort = sort;
	}
	public String getImg() {
		return img;
	}
	public void setImg(String img) {
		this.img = img;
	}
	
}
